#directory definations


DIR_INCLUDE    = /usr/local/include
DIR_LIBRARY    = /usr/local/lib
DIR_PROJECT    = /home/linux/project

# INCLUDE
INC_PROJECT    = -I$(DIR_PROJECT)/alloc -I$(DIR_PROJECT)/buffer -I$(DIR_PROJECT)/socket \
				 -I$(DIR_PROJECT)/thread -I$(DIR_PROJECT)/tools

#command definations
EXTRAFLAGS     = -g -Wall -ftemplate-depth-50 -fpermissive -fPIC -Wno-deprecated

INCLUDES       = $(INC_PROJECT)

BASE_LIBS      = 

CXXFLAGS       = $(INCLUDES) $(EXTRAFLAGS)

MAKE           = make
CXX            = g++
LEX            = flex
YACC           = bison
MV             = mv -f
RM             = rm -f
CP             = cp -f
AR             = ar rc

#rule definations
.SUFFIXES:  .cxx
.cpp.o:
	$(CXX) -o $@ -c $< $(CXXFLAGS)
.cxx.o:
	$(CXX) -o $@ -c $< $(CXXFLAGS)
.cc.o:
	$(CXX) -o $@ -c $< $(CXXFLAGS)


